FILE_PATH = 'local:///home/test/'
MIDDLE_WARE = [
    'test.middle_ware.all',
]
REDIS_URI = 'redis://10.0.1.107/0'
# result_backend = 'redis://10.0.1.107:6379/0'

task_routes = {
    'example.task.starter': {
        'queue': 'starter',
        'routing_key': 'task.starter',
    },
    'example.task.detail': {
        'queue': 'detail',
        'routing_key': 'task.detail',
    },
    'example.novel.starter': {
        'queue': 'novel_starter',
        'routing_key': 'novel.starter',
    },
    'example.novel.detail': {
        'queue': 'novel_detail',
        'routing_key': 'novel.detail',
    },
    'example.novel.text': {
        'queue': 'novel_text',
        'routing_key': 'novel.detail',
    },
}

task_queues = {
    'starter': {
        'exchange': 'custom',
        'routing_key': 'task.starter',
    },
    'detail': {
        'exchange': 'custom',
        'routing_key': 'task.detail',
    },
    'novel_starter': {
        'exchange': 'custom',
        'routing_key': 'novel.starter',
    },
    'novel_text': {
        'exchange': 'custom',
        'routing_key': 'novel.text',
    },
    'novel_detail': {
        'exchange': 'custom',
        'routing_key': 'novel.detail',
    },
}
